package study.pattern.singleton;

public class Singleton2 {

	private static Singleton2 instance = null;

	public static synchronized Singleton2 getInstance() {

		if (instance == null) {
			instance = new Singleton2();
		}
		return instance;
	}
}
